package com.ps.pojo.setting;

import com.google.gson.annotations.Expose;

/**
 * Permission entity. @author MyEclipse Persistence Tools
 */

public class Permission implements java.io.Serializable {

	// Fields
	@Expose (serialize = true)
	private Integer permissionId;
	@Expose (serialize = false, deserialize = false)
	private FunctionModule functionModule;
	@Expose (serialize = true)
	private String name;
	@Expose (serialize = true)
	private String describe;

	// Constructors

	/** default constructor */
	public Permission() {
	}

	/** minimal constructor */
	public Permission(FunctionModule functionModule, String name) {
		this.functionModule = functionModule;
		this.name = name;
	}

	/** full constructor */
	public Permission(FunctionModule functionModule, String name,
			String describe) {
		this.functionModule = functionModule;
		this.name = name;
		this.describe = describe;
	}

	// Property accessors

	public Integer getPermissionId() {
		return this.permissionId;
	}

	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}

	public FunctionModule getFunctionModule() {
		return this.functionModule;
	}

	public void setFunctionModule(FunctionModule functionModule) {
		this.functionModule = functionModule;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescribe() {
		return this.describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

}